<template>
  <div class="message_container" v-if="visible">
    <!-- <div class="message_content">
      <div class="message_title">{{ message }}</div>
      <div class="message_desc">{{ desc }}</div>
      <div class="message_btn" @click="onclickConfig">确定</div>
    </div> -->
  </div>
</template> 

<script>
export default {
  data() {
    return {
      message: "",
      desc: "",
      visible: false,
    };
  },
  methods: {
    onclickConfig() {
      this.visible = false;
    },
  },
};
</script>

<style scoped>
.message_container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
}
.message_content {
  width: 90%;
  height: 180px;
  position: fixed;
  top: 30%;
  left: 5%;
  background-color: #fff;
  border-radius: 10px;
}
.message_title {
  height: 35%;
  line-height: 340%;
  font-size: 18px;
  color: #333;
  text-align: center;
}
.message_desc {
  height: 40%;
  text-align: center;
}
.message_btn {
  height: 25%;
  line-height: 280%;
  color: red;
  text-align: center;
}
</style>